using IQIGame.Onigao.Game;

namespace IQIGame.Onigao.GamePlay
{
    public class CFSMCond_Level_Logic_Monster_AlertValue : CFSMConditionFunc<IQIGame.Onigao.Logic.LevelEntity, CFSMLevel_Logic_MonsterData>
    {
        protected override void OnInit()
        {

        }

        public System.Int32 GetValue()
        {
            return (int)data.alertValue;
        }

        public override bool Check()
        {
            return Compare(GetValue());
        }

        public override void OnReset()
        {
            base.OnReset();
        }
    }
}
